<!DOCTYPE html>
<html>
<head>
    <title>测试array</title>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body>
<script type="text/javascript">
var test=[];
  for(var i=1;i<10;i++){
    test[i]=[];
    for(var l=1;l<10;l++){
        test[i][l]=i*l;
    }
  }
  if(test = 1)

  console.log(test);
</script>
</body>
</html>